Jürgen Keil wrote:
he...@delljm:~$ pfexec mkfs -F pcfs -o b=mh,fat=32 /dev/rdsk/c0t0d0s2:c
No such logical drive (missing extended partition entry)

what's the meaning of this error?

The ":c" syntax needs an fdisk partition tagged
with the correct fdisk partition id (for a FAT
filesystem);  such a partition does not exist.

The error message seems to be a bit confusing...

...
Deleted the solaris2 partition, and re-create a fat32 one.
Then it works:
he...@delljm:~$ pfexec mkfs -F pcfs -o b=mh,fat=32 /dev/rdsk/c0t0d0p0:c
Construct a new FAT file system on /dev/rdsk/c0t0d0p0:c: (y/n)? y

Yep, now we have a fat32 tagged fdisk partition
and the :c syntax can be used.

he...@delljm:~$ fstyp /dev/rdsk/c0t0d0p0
unknown_fstyp (no matches)
but why fstyp displays "unknown" type?

Try fstyp /dev/dsk/c0t0d0p1
or  fstyp /dev/dsk/c0t0d0p0:1

IIRC, for some reason fstyp /dev/dsk/c0t0d0p0:c
does not work.

ok, now:
$ fstyp /dev/dsk/c2t0d0p0
pcfs
$ pfexec mkfs -F pcfs -o b=mh,fat=32 /dev/rdsk/c2t0d0p0:c
No such logical drive (missing extended partition entry)
and format doesn't see the device:
$ pfexec format /dev/rdsk/c2t0d0p0
No disks found!

$ rmformat -l
Looking for devices...
     1. Logical Node: /dev/rdsk/c2t0d0p0
        Physical Node: /p...@0,0/pci1028,1...@1d,2/stor...@1/d...@0,0
        Connected Device: USB2.0   (FS) FLASH DISK  1.00
        Device Type: Removable
        Bus: USB
        Size: 1.0 GB
        Label: <Unknown>
        Access permissions: Medium is not write protected.


i'm very confused

PS: the reason i need to re-format my usb key is that i want to download podcasts into it, but unfortunately, when i configure rhythmbox to save new feeds on the key, a strange directory is created with an ampersand at the end of the name:
$ pfiles 1080
...
 154: S_IFDIR mode:0777 dev:94,208 ino:4294946253 uid:101 gid:10 size:16384
      O_RDONLY|O_NDELAY|O_LARGEFILE FD_CLOEXEC
      /media/NO NAME/France Inter - Nonobstant/&
 155: S_IFDIR mode:0777 dev:94,208 ino:4294946253 uid:101 gid:10 size:16384
      O_RDONLY|O_NDELAY|O_LARGEFILE FD_CLOEXEC
      /media/NO NAME/France Inter - Nonobstant/&

$ \rm -rf /media/NO\ NAME/*
rm: cannot remove directory `/media/NO NAME/France Culture - Projection priv e/&': Directory not empty
rm: WARNING: Circular directory structure.
This almost certainly means that you have a corrupted file system.
NOTIFY YOUR SYSTEM MANAGER.
The following directory is part of the cycle:
`/media/NO NAME/France Culture - Projection priv e/&&/France Culture - Projection priv e'

rm: cannot remove directory `/media/NO NAME/France Inter - Nonobstant/&': Directory not empty

thanks for your help,

gerard

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to