From: SpaceCake <spacecakex@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] activating swap by udev event
Date: Thu, 1 Jul 2010 17:59:13 +0200 [thread overview]
Message-ID: <AANLkTin5L8ayngYbEzgaJScBTlVJF-5Sy5CGDU-elfOs@mail.gmail.com> (raw)
In-Reply-To: <4C2CB906.8030906@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 832 bytes --]
that's good if I want to mount at a specific location, but for swap I need
the device name, but this is changes depending on how many other usb drives
are connected. Looks lik this is a tricky question :)
L:
2010/7/1 Bill Longman <bill.longman@gmail.com>
> On 07/01/2010 08:44 AM, SpaceCake wrote:
> > So, it solves the first problem, identifiying the device, but how can I
> > tell to udev to use always /dev/sds (for example) for this device? Also
> > I'm thinking how can I instruct udev to turn off swap when the device is
> > removed, but this is another story :)
>
> Here's what I have in my /etc/fstab file for one of my USB keys. I
> assume you could just change it to say swap instead.
>
> <fs> <mntpt> <fs> <opts> <dump/pass>
> UUID=BA62-89BD /mnt/key auto noauto,user,exec,nosuid 0 0
>
>
[-- Attachment #2: Type: text/html, Size: 1218 bytes --]
next prev parent reply other threads:[~2010-07-01 15:59 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-01 13:49 [gentoo-user] activating swap by udev event SpaceCake
2010-07-01 14:05 ` Nils Larsson
2010-07-01 14:16 ` Neil Bothwick
2010-07-01 15:17 ` SpaceCake
2010-07-01 15:26 ` Neil Bothwick
2010-07-01 15:44 ` SpaceCake
2010-07-01 15:49 ` Bill Longman
2010-07-01 15:59 ` SpaceCake [this message]
2010-07-01 18:59 ` Bill Longman
2010-07-01 19:21 ` Neil Bothwick
2010-07-01 16:06 ` Nils Larsson
2010-07-01 16:30 ` Albert Hopkins
2010-07-01 16:45 ` Nils Larsson
2010-07-01 16:49 ` SpaceCake
2010-07-01 19:46 ` Alan McKinnon
2010-07-01 21:50 ` Neil Bothwick
2010-07-01 21:59 ` Alan McKinnon
2010-07-01 16:05 ` Alex Schuster
2010-07-01 16:09 ` Neil Bothwick
2010-07-01 16:08 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTin5L8ayngYbEzgaJScBTlVJF-5Sy5CGDU-elfOs@mail.gmail.com \
--to=spacecakex@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox