Reputation
547
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
3 10 19
Newest
 Benefactor
Impact
~153k people reached

Jul
5
revised Find recursively all archive files of diverse archive formats and search them for file name patterns
deleted 18 characters in body
Jul
5
answered Find recursively all archive files of diverse archive formats and search them for file name patterns
Apr
6
awarded  Notable Question
Mar
20
awarded  Popular Question
Feb
13
awarded  Notable Question
Dec
13
awarded  Popular Question
Nov
3
awarded  Popular Question
Oct
28
awarded  Yearling
Apr
5
revised How can I activate the current session in ConsoleKit?
deleted 2 characters in body
Apr
5
accepted What characters do I need to escape when using sed in a sh script?
Apr
4
revised How can I activate the current session in ConsoleKit?
added 146 characters in body
Apr
4
comment How can I activate the current session in ConsoleKit?
In fact, the easiest way to test this is to run ck-launch-session bash -c 'pkexec true'. If there's no output, it works. If you see (as I do) Error executing command as another user: Not authorized, it doesn't.
Apr
3
comment How can I activate the current session in ConsoleKit?
If I call ck-launch-session bash and run ck-list-sessions from within that terminal, the console still has active = FALSE for that session.
Apr
3
asked How can I activate the current session in ConsoleKit?
Mar
23
accepted Is there a command to see where a disk is mounted?
Mar
22
comment Is there a command to see where a disk is mounted?
"If the device was mounted via a different path in /dev that designates the same device, you won't notice it this way." — That is actually the case: I have the udisks symlink (in /dev/disk/by-label/...). But I can resolve to a device node using readlink -f. I like the /proc/mounts idea, I think that might be a bit more reliable than /etc/mtab.
Mar
22
comment Is there a command to see where a disk is mounted?
Although grep ^"${NODE}[[:space:]]\+" /etc/mtab | cut -d ' ' -f 2" is much less fragile...
Mar
22
awarded  Commentator
Mar
22
comment Is there a command to see where a disk is mounted?
Ah, grep ${NODE} /etc/mtab | cut -d ' ' -f 2 should do it.
Mar
22
revised Is there a command to see where a disk is mounted?
added 86 characters in body