Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Re: Trouble with external USB hard disk: drive order; hard and optical drive names
- Date: Wed, 22 Oct 2008 12:04:08 +0000
- From: John Fremlin <john@example.com>
- Subject: [tlug] Re: Trouble with external USB hard disk: drive order; hard and optical drive names
- References: <48FC2568.3030500@gol.com> <20081020215906.2ce03e94.jep200404@columbus.rr.com> <48FD4807.309@gol.com> <20081020233252.010da298.jep200404@columbus.rr.com> <48FD7503.7030908@gol.com> <20081021123327.68cff46f.jep200404@columbus.rr.com> <878wshth7q.fsf@xemacs.org> <48FEF5C6.7070703@bonivet.net> <20081022113640.GD16826@lucky.cynic.net>
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
Curt Sampson <cjs@example.com> writes: > On 2008-10-22 10:43 +0100 (Wed), Godwin Stewart wrote: > >> On a (V)FAT filesystem, a volume label is technically a file on the >> disk. The filesystem therefore has to be mounted already for the O/S >> to know what the label is.... > > Technically, not really, no; you could just read the raw device and > interpret enough of the file system layout to get that one filename out > of the root directory. Some programs (or, at least, some BSD programs) > are already taking this approach just to figure out if there's really a > vfat filesystem in that partition. If you look at /dev/disk/by-label on recent Ubuntu you will see that udev already links to FAT partitions there by label. It gets its info from the vol_id program (also in the udev package). (A label is stored in the FAT header for FAT12, FAT16 and FAT32 -- I ought to remember because I implemented a full VFAT filesystem and VFS layer from scratch in my last job.) [...]
- Follow-Ups:
- References:
- [tlug] Trouble with external USB hard disk
- From: David Bernat
- Re: [tlug] Trouble with external USB hard disk: /dev/scd0 versus /dev/sdc
- From: jep200404
- Re: [tlug] Trouble with external USB hard disk: /dev/scd0 versus /dev/sdc
- From: David Bernat
- Re: [tlug] Trouble with external USB hard disk: /dev/scd0 versus /dev/sdc
- From: jep200404
- Re: [tlug] Trouble with external USB hard disk: /dev/scd0 versus /dev/sdc
- From: David Bernat
- Re: [tlug] Trouble with external USB hard disk: drive order; hard and optical drive names
- From: jep200404
- Re: [tlug] Trouble with external USB hard disk: drive order; hard and optical drive names
- From: Stephen J. Turnbull
- Re: [tlug] Trouble with external USB hard disk: drive order; hard and optical drive names
- From: Godwin Stewart
- Re: [tlug] Trouble with external USB hard disk: drive order; hard and optical drive names
- From: Curt Sampson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Trouble with external USB hard disk: drive order; hard and optical drive names
- Next by Date: Re: [tlug] Re: Trouble with external USB hard disk: drive order; hard and optical drive names
- Previous by thread: Re: [tlug] Trouble with external USB hard disk: drive order; hard and optical drive names
- Next by thread: Re: [tlug] Re: Trouble with external USB hard disk: drive order; hard and optical drive names
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links