K
krabs
Guest
Like the title said prevent hotplug from failing to mount at the first try!
examples
hotplug[533]: USB /dev/sda1(ntfs) failed to mount at the first try!
hotplug[528]: USB /dev/sda2(ext2,ext3) failed to mount at the first try!
Create mount directories of partitions in init-start(jffs/scripts). If partitions are labeled give the directories the name of the partitions.
The router normally automount partions with a label under /tmp/mnt/<label>
Check mount options
Create fstab(jffs/configs)
while it is possible to use labels or uuid's in fstab. I'm using the "device path" because it's not working properly for me.
For a reason I don't know I'm getting Buffer I/O error's on device mtdblock4,6 when using UUID's,labels to mount partition or even with the command "blkid".
If you have more then one drive you probably need, have (labels,uuids) to prevent linux from mounting on a first-come first-serve basis(switching between sda,sdb)
Reboot and partions should be mounted at first try!
examples
hotplug[533]: USB /dev/sda1(ntfs) failed to mount at the first try!
hotplug[528]: USB /dev/sda2(ext2,ext3) failed to mount at the first try!
Create mount directories of partitions in init-start(jffs/scripts). If partitions are labeled give the directories the name of the partitions.
The router normally automount partions with a label under /tmp/mnt/<label>
Code:
mkdir -p /tmp/mnt/<label> or partion(sda1,sda2)
mkdir -p /tmp/mnt/...
Check mount options
Code:
# cat /etc/mtab
/dev/sda2 /tmp/mnt/entware ext2 --> rw,nodev,noatime 0 0
/dev/sda3 /tmp/mnt/data ext2 --> rw,nodev,noatime 0 0
Create fstab(jffs/configs)
while it is possible to use labels or uuid's in fstab. I'm using the "device path" because it's not working properly for me.
For a reason I don't know I'm getting Buffer I/O error's on device mtdblock4,6 when using UUID's,labels to mount partition or even with the command "blkid".
If you have more then one drive you probably need, have (labels,uuids) to prevent linux from mounting on a first-come first-serve basis(switching between sda,sdb)
Code:
# <file system> <dir> <type> <options> <dump> <pass>
/dev/sda2 /tmp/mnt/<label>,part ext2 rw,nodev,noatime 0 0
LABEL=
UUID=
Reboot and partions should be mounted at first try!