Results 1 to 5 of 5

Thread: How can I mount a filesystem during boot sequence?

  1. #1

    Unhappy How can I mount a filesystem during boot sequence?

    I have tried to insert this statement into post-boot and after that to post-firewall, but in both of them it is ignored. If I execute it manually afterwards there is no problem at all.

    mount -text3 -oloop,noatime /tmp/harddisk/opt.ext3 /opt

    Thanks for help

    Dusan

  2. #2
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    use post-mount.

  3. #3
    Quote Originally Posted by Oleg
    use post-mount.
    Even with:

    0 drwxr-xr-x 1 admin root 0 Aug 8 15:47 .
    0 drwxr-xr-x 1 admin root 0 Jan 1 2000 ..
    0 -rwxr-xr-x 1 admin root 20 Aug 11 15:52 post-boot
    0 -rwxr-xr-x 1 admin root 1893 Aug 10 17:43 post-firewall
    0 -rwxr-xr-x 1 admin root 355 Aug 10 16:51 post-firewall.old
    0 -rwxr-xr-x 1 admin root 57 Aug 11 15:53 post-mount
    0 -rwxr-xr-x 1 admin root 44 Aug 8 18:02 save.sh
    [admin@(none) sbin]$ cat post-mount
    mount -text3 -oloop,noatime /tmp/harddisk/opt.ext3 /opt

    It is still not working.

  4. #4
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    You've to add #!/bin/sh to the begining of post-mount.

  5. #5
    Quote Originally Posted by Oleg
    You've to add #!/bin/sh to the begining of post-mount.
    Ooops, stupid me. I have it everywhere (post-boot, post-firewall), just in this script it was left out while doing copy&paste.

Similar Threads

  1. Is it possible to get contents of root filesystem on sl500?
    By vl409 in forum SL-1000 Firmware Discussion
    Replies: 4
    Last Post: 05-10-2005, 14:07
  2. Mount on boot setup fails
    By daninor in forum WL-500g Q&A
    Replies: 6
    Last Post: 20-08-2005, 10:04
  3. Replies: 9
    Last Post: 18-02-2005, 19:42
  4. stupid-ftp and filesystem on HDD
    By Vladimir in forum WL-500g Q&A
    Replies: 3
    Last Post: 22-01-2005, 13:47
  5. filesystem on usb disk??
    By NIGHTCD in forum WL-500g Q&A
    Replies: 7
    Last Post: 15-09-2004, 12:23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •