Re: Mount and Unmount



Perhaps he wants a ramdisk?
If so, add this to /etc/fstab:
/dev/ram /media/ramdisk tmpfs,user rw 0 0


On 8/30/07, Marc Rios <marcrios84@xxxxxxxxx> wrote:
A little question, why you want to 'mount' or 'unmount' swap?????


2007/8/30, Mario Vukelic <mario.vukelic@xxxxxxxxxxx>:


On Thu, 2007-08-30 at 22:07 +0200, Nils Kassube wrote:
Right - and the command needs to know which device you want to
enable / disable.

But usually then don't need to be specified on the command line. The
manpage you quoted says:

Normally, the first form is used [swapon -a]

-a: All devices marked as ''swap'' swap devices in /etc/fstab are
made available, except for those with the ''noauto'' option. Devices
that are already running as swap are silently skipped.



--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Beginners partition advice
    ... can tell from System Monitor it's 1.9GB but not sure what command I'd ... 'apropos swap' shows swapon. ... swapon -s did indeed confirm a 1.9GB swap partition at sda1. ...
    (alt.os.linux.suse)
  • Re: Ubuntu not using the swap partition
    ... You will not see swap in a df listing, since swap is not a mounted file ... Run this command: ... john@john-desktop:~$ swapon -s ...
    (Ubuntu)
  • Re: TSO/ISPF Screen Swap - remoarks
    ... The exec uses a panel to execute the swap list command. ... SELECT4 = 'RETURN COMMAND ENTERED FROM SELECTED MENU OR FROM', ...
    (bit.listserv.ibm-main)
  • Re: How can I determine/increase ramsize?
    ... Ramdisk size is controlled by a command-line option tha tis passed to the ... You will need to find the kernel that you ... run the dmesg command to see what the ... total used free shared buffers ...
    (RedHat)
  • Re: How can to set debian to write as less as possible (to use it on Flash drive)
    ... idea to use flash as swap or /var/log etc. ... </To understend how to start> ... ramdisk on top of the DOK / CD. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)