-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 3 Jul 2003, Nick Rout wrote:

> errr....
> 
> sf root # file -s /dev/hda1
> /dev/hda1: symbolic link to `ide/host0/bus0/target0/lun0/part1'
> sf root # file -s ide/host0/bus0/target0/lun0/part1
> ide/host0/bus0/target0/lun0/part1: Can't stat `ide/host0/bus0/target0/lun0/part1' 
> (No such file or directory)

And you're in /dev? Methinks not :)

Try the full path to the device.

eg, from my system (no devfs here):

wakko:~# file -s /dev/hda1
/dev/hda1: Linux rev 1.0 ext3 filesystem data (needs journal recovery)

wakko:~# file -s /dev/mainvg/homevg
/dev/mainvg/homevg: Linux rev 1.0 ext3 filesystem data (needs journal
recovery)

The -s switch is important, othewise it'll (correctly) just identify it as
a block device :)

- -- 
David Zanetti <[EMAIL PROTECTED]>  |  (__)  
#include <geek/unix.h>               |  ( oo    Mooooooo 
"Hope.. is a dangerous thing."       |  /(_O ./
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Made with pgp4pine 1.75-6

iD8DBQE/A7AiT21+qRy4P+QRArkeAJwJtZX2Uoyuc9+RgwoyVRvlxSDQoACeLOF4
5y8If+vV454oMw6UVke/75Q=
=HWdk
-----END PGP SIGNATURE-----


Reply via email to