Nick Rout wrote:
On Sun, 2005-08-14 at 20:38 +1200, Volker Kuhlmann wrote:
file -Ls /dev/hda1
Wow, thanks Nick! You can leave out the -L though, but need the -s.
It consistently fails on hdX5:
Isn't hdX5 the extended partition, which is a wrapper for the partitions
within it? Or do I have that wrong? (I don't have any computers with
more than 4 partitions per disk any more)
There are a max 4 primary partitions. If more than 4 are used, then hdX4
becomes the wrapper for the extended partitions, not hdX5.
However, on FC4,
[EMAIL PROTECTED] ~]# file -v
file-4.13
magic file from /usr/share/file/magic
[EMAIL PROTECTED] ~]# file -s /dev/hda1
/dev/hda1: data
[EMAIL PROTECTED] ~]# file -s /dev/hda1
/dev/hda1: data
On debian,
mail:~# file -v
file-4.12
magic data from /etc/magic:/usr/share/misc/file/magic
mail:~# file -Ls /dev/hda1
/dev/hda1: data
mail:~# file -s /dev/hda1
/dev/hda1: data
What am I missing here? These are good old bog standard ata drives,
formatted as reiserfs.
Steve