försöker mounta min ntfs partion funkar bra genom att använda kommandot:
mount /dev/hdb5 /mnt/hd -t ntfs
men när jag skriver in fstab
/dev/hdb5 /mnt/hd ntfs noauto,users 0 0
så får jag felmedelandet:
mount: Can't find /mnt/hd in /etc/fstab or /etc/mtab
har jag skrivi något fel?
vad står egentilligen de två sista siffrorna för?
mounta en ntfs partion..
mounta en ntfs partion..
Last edited by mattoys on 2004-02-26 14:39:39, edited 1 time in total.
[P4-HT 2600MHz - 2x256MB PC3200 Dual - 40GB, 80GB, 120GB IBM 7200 - Geforce2 Gts 64MB - iiyama 19"]
Re: mounta en ntfs partion..
man fstabmattoys wrote: vad står egentilligen de två sista siffrorna för?
Code: Select all
The fifth field, (fs_freq), is used for these filesystems by the
dump(8) command to determine which filesystems need to be dumped. If
the fifth field is not present, a value of zero is returned and dump
will assume that the filesystem does not need to be dumped.
The sixth field, (fs_passno), is used by the fsck(8) program to deter-
mine the order in which filesystem checks are done at reboot time. The
root filesystem should be specified with a fs_passno of 1, and other
filesystems should have a fs_passno of 2. Filesystems within a drive
will be checked sequentially, but filesystems on different drives will
be checked at the same time to utilize parallelism available in the
hardware. If the sixth field is not present or zero, a value of zero
is returned and fsck will assume that the filesystem does not need to
be checked.
Den första siffran handlar alltså om programmet "dump" ska säkerhetskopiera, och den andra om fsck ska kolla filsystemet (om du kör ext2) vid boot.
» the empire never ended
Re: mounta en ntfs partion..
Du är helt säker på att du sparade filen efter att du gjort ändringarna? Det låter onekligen som det inte finns någon sådan rad alls.mattoys wrote: så får jag felmedelandet:
mount: Can't find /mnt/hd in /etc/fstab or /etc/mtab
» the empire never ended
Solaris har ju en fin feature, om man skriver "mount -p" så printar den ut en mount-tab i fstab-format
så att man kan klipp-och-klistra in det i sin fstab direkt. Det hade ju inte gjort ont att ha det i andra
OS heller.
(Och ja, det heter vfstab i solaris men iaf)
så att man kan klipp-och-klistra in det i sin fstab direkt. Det hade ju inte gjort ont att ha det i andra
OS heller.
(Och ja, det heter vfstab i solaris men iaf)
Oh give me a clone, my very own clone,
with the Y chromosome changed to X!
And since she's my own, of my own flesh and bone,
she'll be thinking of nothing but sex!
with the Y chromosome changed to X!
And since she's my own, of my own flesh and bone,
she'll be thinking of nothing but sex!