> how does OpenSolaris create the names for the > mountpoints for removable > media? > > I have an USB stick with multiple partitions and it's > mounted like this: > > /media/sitory.db-j on /dev/dsk/c1t0d0p0:1
In the pcfs case, /usr/lib/fs/pcfs/fstyp.so.1 is used to identify the pcfs filesystem and it should return a volume name. The first sector of the pcfs filesystem can contain a volume name, but this can be overwritten by a special "volume label" entry in the root directory of the pcfs filesystem. > but what > about the name for the partition with a FAT > filesystem sitory.db-j? My guess is that "sitory.db-j" is a fragment of a "long filename" fat directory entry found in the root filesystem, and is identified as volume label my mistake. I suspect there is a bug in /usr/lib/fs/pcfs/fstyp.so.1 when scanning the pcfs root directory for the filesystem's volume label entry. In some cases this bug seems to result in hald refusing to auto mount the pcfs because of the bogus volume label, e.g. in these cases: http://opensolaris.org/jive/thread.jspa?messageID=319294#319294 http://opensolaris.org/jive/thread.jspa?messageID=344425#344425 -- This message posted from opensolaris.org _______________________________________________ indiana-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
