Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FSCK Command usage

Status
Not open for further replies.

DBDIR

MIS
Sep 5, 2003
33
0
0
GB
Hi, straight forward one....

fsck /dev/dsk/c0t0d0s0 - no probs

I wish to check another drive within the system not just the mounted one is this possible?

ie I have two drives in the system - one is mounted - one is not however I wish to check the disk...

Thanks!
 
Thanks, rdsk & dsk..... what is the difference?

Thanks
 
Not that it is advisable under every condition, but you can have fsck loop through all devices by just running fsck w/o specifying a device; combine that with the -y flag and all devices will be fsck(d) w/o prompts.

Cheers,

Keith
keith@duffin.org
 

/dev/rdsk is raw (unbuffered) where as /dev/dsk is buffered.

You should fsck unmounted raw devices.

Mark

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top