Gentoo Archives: gentoo-user

From: Jorge Almeida <jalmeida@××××××××××××.pt>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] confused udev?
Date: Tue, 22 Nov 2005 11:52:10
Message-Id: Pine.LNX.4.63.0511221122200.22120@weber.math.ist.utl.pt
In Reply to: Re: [gentoo-user] confused udev? by Richard Fish
1 On Mon, 21 Nov 2005, Richard Fish wrote:
2
3 >
4 > So if it really is partitioned, we'll have to figure out why the
5 > kernel is not seeing your partition table. I would be interested to
6 > see the output of 'fdisk -l /dev/sda' with the stick inserted.
7 >
8 No /dev/sda. But there exists /dev/plextor_memstick. However:
9 root@jmaa ~ $ fdisk -l plextor_memstick
10 ~
11 root@jmaa ~ $ mount -t auto /dev/plextor_memstick /mnt/pen
12 mount: block device /dev/plextor_memstick is write-protected, mounting
13 read-only
14 mount: you must specify the filesystem type
15 ~
16 root@jmaa ~ $ ls /mnt/pen
17 ~
18 root@jmaa ~ $ umount /mnt/pen
19 umount: /mnt/pen: not mounted
20 ~
21 root@jmaa ~ $ fdisk -l plextor_memstick
22 ~
23 root@jmaa ~ $ mount -t vfat /dev/plextor_memstick /mnt/pen
24 mount: wrong fs type, bad option, bad superblock on
25 /dev/plextor_memstick, missing codepage or other error
26 In some cases useful info is found in syslog - try
27 dmesg | tail or so
28
29 Well, let's try again. I remove the stick and plug it again. Now there
30 are both /dev/plextor_memstick and /dev/plextor_memstick1 !
31
32 root@jmaa ~ $ mount /mnt/pen
33 ~
34 root@jmaa ~ $ ls /mnt/pen
35 teste teste~
36 root@jmaa ~ $ cat /etc/fstab|grep pen
37 /dev/plextor_memstick1 /mnt/pen vfat noauto,user,noexec,nodev,rw,noatime,conv=auto,uni_xlate,posix 0 0
38 root@jmaa ~ $ umount /mnt/pen
39 ~
40 root@jmaa ~ $ fdisk -l /dev/plextor_memstick
41 Disk /dev/plextor_memstick: 1050 MB, 1050934784 bytes
42 129 heads, 19 sectors/track, 837 cylinders
43 Units = cylinders of 2451 * 512 = 1254912 bytes
44
45 Device Boot Start End Blocks Id System
46 /dev/plextor_memstick1 * 1 838 1026294 e W95 FAT16 (LBA)
47 Partition 1 has different physical/logical endings:
48 phys=(842, 128, 19) logical=(837, 58, 18)
49
50 So, there is really a partition. This is the original partitioning. I
51 didn't change it because I want to keep it vfat, in case I need to use
52 it on a Mac (or even on a Windows PC, who knows?).
53
54 Would it be a good idea to reformat the disk using fdisk? Maybe the
55 problem lies with crappy windows tools?
56
57
58
59 Thanks,
60 Jorge
61 --
62 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] confused udev? Richard Fish <bigfish@××××××××××.org>