Is there a way RECOVERY nand could auto fix usb drive? June 16, 2011 09:47AM |
Registered: 14 years ago Posts: 92 |
Re: Is there a way RECOVERY nand could auto fix usb drive? June 16, 2011 10:16AM |
Registered: 14 years ago Posts: 136 |
Re: Is there a way RECOVERY nand could auto fix usb drive? June 16, 2011 11:58AM |
Registered: 13 years ago Posts: 218 |
Re: Is there a way RECOVERY nand could auto fix usb drive? June 16, 2011 12:23PM |
Registered: 14 years ago Posts: 92 |
Re: Is there a way RECOVERY nand could auto fix usb drive? June 16, 2011 06:28PM |
Registered: 13 years ago Posts: 218 |
#!/bin/bash #get the line containing the uuid and device name dev_name_line=`blkid |grep "your_drives_uuid_without_the_quotation_marks"` #if grep found the uuid if [ $? == 0 ] then #get the device name dev_name=${dev_name_line:0:9} else echo "UUID not found!" exit 1; fi #force check the drive fsck -f $dev_name reboot; exit 0;
Re: Is there a way RECOVERY nand could auto fix usb drive? June 28, 2011 04:36AM |
Registered: 13 years ago Posts: 218 |
Re: Is there a way RECOVERY nand could auto fix usb drive? July 04, 2011 06:09PM |
Registered: 13 years ago Posts: 161 |
Re: Is there a way RECOVERY nand could auto fix usb drive? July 05, 2011 12:42AM |
Registered: 14 years ago Posts: 136 |
Re: Is there a way RECOVERY nand could auto fix usb drive? July 05, 2011 08:54PM |
Registered: 13 years ago Posts: 161 |
Re: Is there a way RECOVERY nand could auto fix usb drive? July 03, 2012 11:38AM |
Registered: 12 years ago Posts: 92 |
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> /dev/root / ext3 noatime,errors=remount-ro 0 1 /dev/sda2 none swap sw 0 0 /dev/sda3 /home ext3 defaults 1 2 tmpfs /tmp tmpfs defaults 0 0
root@Goflex-80G:~# mount rootfs on / type rootfs (rw) none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) none on /proc type proc (rw,nosuid,nodev,noexec,relatime) none on /dev type devtmpfs (rw,relatime,size=59032k,nr_inodes=14758,mode=755) none on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) /dev/sda1 on / type ext2 (rw,noatime,errors=remount-ro) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,relatime,mode=755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime) /dev/sda3 on /home type ext3 (rw,relatime,errors=continue,barrier=1,data=ordered) tmpfs on /tmp type tmpfs (rw,relatime)
Re: Is there a way RECOVERY nand could auto fix usb drive? July 03, 2012 01:13PM |
Registered: 12 years ago Posts: 92 |