[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Block special device messed up



On 13.08.06 12:45, salve@slogedalen.no wrote:
> Some time ago I messed with /dev/hdc, and ended up with this:
how?

> root@gamla:~# ls -l /dev/hdc
> total 0
> brw-rw----  1 root disk 22, 0 Aug 25  2005 hdc-
> root@gamla:~# ls -ld /dev/hdc
> drw-rw----  2 root disk 4096 Aug 25  2005 /dev/hdc
> root@gamla:~# file /dev/hdc
> /dev/hdc: directory

haven't you just mounted something on /dev/hdc? 

> What should I do to restore this?

first try umount /dev/hdc if that helps.
-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The early bird may get the worm, but the second mouse gets the cheese. 



Reply to: