Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #5811

Re: how can I tell if a partition is a luks partition?

From Robert Riches <spamtrap42@jacob21819.net>
Newsgroups comp.os.linux.misc
Subject Re: how can I tell if a partition is a luks partition?
Date 2012-08-01 04:11 +0000
Organization none-at-all
Message-ID <slrnk1hb4d.nvu.spamtrap42@one.localnet> (permalink)
References (5 earlier) <slrnk1g5jh.fhp.BitTwister@wb.home.test> <jv9bjt$9d9$1@dont-email.me> <kqole9-301.ln1@cjlocal.com> <jv9d7b$iar$1@dont-email.me> <q9qle9-301.ln1@cjlocal.com>

Show all headers | View raw


On 2012-07-31, Chris F.A. Johnson <cfajohnson@gmail.com> wrote:
> On 2012-07-31, Aragorn wrote:
>> On Tuesday 31 July 2012 21:38, Chris F.A. Johnson conveyed the following 
>> to comp.os.linux.misc...
>>
>>> On 2012-07-31, Todd wrote:
>>>
>>>> On 07/31/2012 10:31 AM, Bit Twister wrote:
>>>>
>>>>> On Tue, 31 Jul 2012 10:12:56 -0700, Todd wrote:
>>>>>
>>>>>> On 07/31/2012 01:10 AM, Bit Twister wrote:
>>>>>>
>>>>>>> On Mon, 30 Jul 2012 22:37:33 -0700, Todd wrote:
>>>>>>>>
>>>>>>>> oops, you have to run "blkid" as root
>>>>>>>
>>>>>>> Oh no, hope my system never finds that out.
>>>>>>>
>>>>>>> [bittwister@wb ~]$ /sbin/blkid | grep sda6
>>>>>>> /dev/sda6: LABEL="cauldron" UUID="35f73957-91a7-439b-8aa8-1da6"
>>>>>>> TYPE="ext4"
>>>>>>
>>>>>> Oh, now it decides to work as a user today!  Yesterday,
>>>>>> I got nothing back, unless I was root.
>>>>>
>>>>> If you run "blkid" I will guess it would be broke again.  :-8
>>>>>
>>>>> And magically "/sbin/blkid" will work. :-D
>>>>
>>>> That stupid sbin directory again!  AAAAHHHHHHH
>>> 
>>>    Why is /sbin not in your PATH?
>>
>> Probably because he was executing it as a non-root user, in which case 
>> it should indeed _not_ be in his $PATH.
>
>    I disagree.
>
>    I always have /sbin in my path as a regular user.
>
>    There are commands in /sbin that I often use as a regular user.

/usr/sbin has lsusb, lshw, and lsof.  /sbin has lsmod along with
the aforementioned blkid.  I'm pretty sure that at one time mailq
and/or ping was in /sbin or /usr/sbin.

-- 
Robert Riches
spamtrap42@jacob21819.net
(Yes, that is one of my email addresses.)

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

how can I tell if a partition is a luks partition? Todd <Todd@invalid.invalid> - 2012-07-30 22:20 -0700
  Re: how can I tell if a partition is a luks partition? Todd <Todd@invalid.invalid> - 2012-07-30 22:36 -0700
    Re: how can I tell if a partition is a luks partition? Todd <Todd@invalid.invalid> - 2012-07-30 22:37 -0700
      Re: how can I tell if a partition is a luks partition? Todd <Todd@invalid.invalid> - 2012-07-30 22:46 -0700
      Re: how can I tell if a partition is a luks partition? Bit Twister <BitTwister@mouse-potato.com> - 2012-07-31 08:10 +0000
        Re: how can I tell if a partition is a luks partition? Todd <Todd@invalid.invalid> - 2012-07-31 10:12 -0700
          Re: how can I tell if a partition is a luks partition? Bit Twister <BitTwister@mouse-potato.com> - 2012-07-31 17:31 +0000
            Re: how can I tell if a partition is a luks partition? Todd <Todd@invalid.invalid> - 2012-07-31 12:27 -0700
              Re: how can I tell if a partition is a luks partition? "Chris F.A. Johnson" <cfajohnson@gmail.com> - 2012-07-31 15:38 -0400
                Re: how can I tell if a partition is a luks partition? Aragorn <stryder@telenet.be.invalid> - 2012-07-31 21:55 +0200
                Re: how can I tell if a partition is a luks partition? "Chris F.A. Johnson" <cfajohnson@gmail.com> - 2012-07-31 16:03 -0400
                Re: how can I tell if a partition is a luks partition? Robert Riches <spamtrap42@jacob21819.net> - 2012-08-01 04:11 +0000
                Re: how can I tell if a partition is a luks partition? Richard Kettlewell <rjk@greenend.org.uk> - 2012-08-01 09:08 +0100
                Re: how can I tell if a partition is a luks partition? Todd <Todd@invalid.invalid> - 2012-08-01 11:04 -0700
                Re: how can I tell if a partition is a luks partition? "Chris F.A. Johnson" <cfajohnson@gmail.com> - 2012-08-01 14:25 -0400
                Re: how can I tell if a partition is a luks partition? Todd <Todd@invalid.invalid> - 2012-08-01 13:54 -0700
  Re: how can I tell if a partition is a luks partition? Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2012-07-31 13:57 -0500
    Re: how can I tell if a partition is a luks partition? Todd <Todd@invalid.invalid> - 2012-07-31 12:31 -0700
      Re: how can I tell if a partition is a luks partition? Loki Harfagr <l0k1@thedarkdesign.free.fr.INVALID> - 2012-08-01 10:03 +0000
        Re: how can I tell if a partition is a luks partition? Todd <Todd@invalid.invalid> - 2012-08-01 11:03 -0700
          Re: how can I tell if a partition is a luks partition? Loki Harfagr <l0k1@thedarkdesign.free.fr.INVALID> - 2012-08-01 20:53 +0000
          Re: how can I tell if a partition is a luks partition? Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2012-08-02 09:50 -0500
            Re: how can I tell if a partition is a luks partition? Todd <Todd@invalid.invalid> - 2012-08-03 16:21 -0700

csiph-web