2008年9月28日 星期日

How to build a NDAS package for Debian and Ubuntu



註:
root@ubuntu:~# mount -a
$LogFile indicates unclean shutdown (0, 0)
Failed to mount '/dev/ndas-13027424-0p1': Operation not supported
Mount is denied because NTFS is marked to be in use. Choose one action:

Choice 1: If you have Windows then disconnect the external devices by
clicking on the 'Safely Remove Hardware' icon in the Windows
taskbar then shutdown Windows cleanly.

Choice 2: If you don't have Windows then you can use the 'force' option for
your own responsibility. For example type on the command line:

mount -t ntfs-3g /dev/ndas-13027424-0p1 /mnt/netdisk -o force

Or add the option to the relevant row in the /etc/fstab file:

/dev/ndas-13027424-0p1 /mnt/netdisk ntfs-3g force 0 0
root@ubuntu:~# mount -t ntfs-3g /dev/ndas-13027424-0p1 /mnt/netdisk -o force
$LogFile indicates unclean shutdown (0, 0)
WARNING: Forced mount, reset $LogFile.