From: Jorge Almeida <jalmeida@math.ist.utl.pt>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] confused udev?
Date: Tue, 22 Nov 2005 11:46:44 +0000 (WET) [thread overview]
Message-ID: <Pine.LNX.4.63.0511221122200.22120@weber.math.ist.utl.pt> (raw)
In-Reply-To: <7573e9640511210718g145435e9y8e57e8b79c19387d@mail.gmail.com>
On Mon, 21 Nov 2005, Richard Fish wrote:
>
> So if it really is partitioned, we'll have to figure out why the
> kernel is not seeing your partition table. I would be interested to
> see the output of 'fdisk -l /dev/sda' with the stick inserted.
>
No /dev/sda. But there exists /dev/plextor_memstick. However:
root@jmaa ~ $ fdisk -l plextor_memstick
~
root@jmaa ~ $ mount -t auto /dev/plextor_memstick /mnt/pen
mount: block device /dev/plextor_memstick is write-protected, mounting
read-only
mount: you must specify the filesystem type
~
root@jmaa ~ $ ls /mnt/pen
~
root@jmaa ~ $ umount /mnt/pen
umount: /mnt/pen: not mounted
~
root@jmaa ~ $ fdisk -l plextor_memstick
~
root@jmaa ~ $ mount -t vfat /dev/plextor_memstick /mnt/pen
mount: wrong fs type, bad option, bad superblock on
/dev/plextor_memstick, missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Well, let's try again. I remove the stick and plug it again. Now there
are both /dev/plextor_memstick and /dev/plextor_memstick1 !
root@jmaa ~ $ mount /mnt/pen
~
root@jmaa ~ $ ls /mnt/pen
teste teste~
root@jmaa ~ $ cat /etc/fstab|grep pen
/dev/plextor_memstick1 /mnt/pen vfat noauto,user,noexec,nodev,rw,noatime,conv=auto,uni_xlate,posix 0 0
root@jmaa ~ $ umount /mnt/pen
~
root@jmaa ~ $ fdisk -l /dev/plextor_memstick
Disk /dev/plextor_memstick: 1050 MB, 1050934784 bytes
129 heads, 19 sectors/track, 837 cylinders
Units = cylinders of 2451 * 512 = 1254912 bytes
Device Boot Start End Blocks Id System
/dev/plextor_memstick1 * 1 838 1026294 e W95 FAT16 (LBA)
Partition 1 has different physical/logical endings:
phys=(842, 128, 19) logical=(837, 58, 18)
So, there is really a partition. This is the original partitioning. I
didn't change it because I want to keep it vfat, in case I need to use
it on a Mac (or even on a Windows PC, who knows?).
Would it be a good idea to reformat the disk using fdisk? Maybe the
problem lies with crappy windows tools?
Thanks,
Jorge
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-11-22 11:52 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-17 9:26 [gentoo-user] confused udev? Jorge Almeida
2005-11-17 9:49 ` Dirk Heinrichs
2005-11-17 12:43 ` Jorge Almeida
2005-11-17 13:54 ` Dirk Heinrichs
2005-11-17 14:14 ` Jorge Almeida
2005-11-18 10:21 ` Dirk Heinrichs
2005-11-18 10:29 ` Neil Bothwick
2005-11-18 10:40 ` Dirk Heinrichs
2005-11-18 10:31 ` Jorge Almeida
2005-11-20 2:21 ` Richard Fish
2005-11-20 11:21 ` Jorge Almeida
2005-11-21 15:18 ` Richard Fish
2005-11-22 11:46 ` Jorge Almeida [this message]
2005-11-23 4:10 ` Richard Fish
2005-11-23 9:32 ` Jorge Almeida
2005-11-23 15:07 ` Richard Fish
2005-11-23 21:13 ` Jorge Almeida
2005-11-17 14:14 ` Richard Fish
2005-11-17 16:19 ` Jorge Almeida
2005-11-17 17:11 ` Richard Fish
2005-11-17 17:47 ` Jorge Almeida
2005-11-17 18:14 ` Richard Fish
2005-11-17 18:23 ` Jorge Almeida
2005-11-17 20:15 ` Richard Fish
2005-11-17 20:49 ` Jorge Almeida
2005-11-17 21:11 ` Richard Fish
2005-11-17 22:04 ` Jorge Almeida
2005-11-17 23:57 ` Richard Fish
2005-11-18 8:33 ` Jorge Almeida
2005-11-18 7:03 ` Dirk Heinrichs
2005-11-18 6:56 ` Dirk Heinrichs
2005-11-18 8:36 ` Jorge Almeida
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.63.0511221122200.22120@weber.math.ist.utl.pt \
--to=jalmeida@math.ist.utl.pt \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox