Loading ...
Sorry, an error occurred while loading the content.

Re: [nslu2-general] cannot swapon /dev/sda2

Expand Messages
  • Laurent Gilson
    Hello, Another test is swapon -s: -s Display swap usage summary by device. Equivalent to cat /proc/swaps . or cat /proc/mounts (that is based on
    Message 1 of 9 , Dec 3, 2006
    • 0 Attachment
      Hello,

      Another test is swapon -s:

      -s Display swap usage summary by device. Equivalent to "cat
      /proc/swaps".

      or "cat /proc/mounts" (that is based on the kernel-data and not mtab. mtab
      may be wrong)

      cu
    • janne5011
      here is what cat /proc/mounts says: root@oldslug:~# cat /proc/mounts rootfs / rootfs rw 0 0 /dev/root /initrd jffs2 ro 0 0 /dev/sda1 / ext3
      Message 2 of 9 , Dec 3, 2006
      • 0 Attachment
        here is what cat /proc/mounts says:

        root@oldslug:~# cat /proc/mounts
        rootfs / rootfs rw 0 0
        /dev/root /initrd jffs2 ro 0 0
        /dev/sda1 / ext3 rw,noatime,data=ordered 0 0
        proc /proc proc rw 0 0
        sysfs /sys sysfs rw 0 0
        /dev/sda1 /dev/.static/dev ext3 rw,noatime,data=ordered 0 0
        tmpfs /dev tmpfs rw 0 0
        /dev/sda3 /media/sda3 ext3 rw,sync,data=ordered 0 0
        tmpfs /media/ram tmpfs rw 0 0
        usbfs /proc/bus/usb usbfs rw 0 0
        devpts /dev/pts devpts rw 0 0
        root@oldslug:~#


        --- In nslu2-general@yahoogroups.com, "Laurent Gilson" <pumpkin@...>
        wrote:
        >
        > Hello,
        >
        > Another test is swapon -s:
        >
        > -s Display swap usage summary by device. Equivalent
        to "cat
        > /proc/swaps".
        >
        > or "cat /proc/mounts" (that is based on the kernel-data and not
        mtab. mtab
        > may be wrong)
        >
        > cu
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.