Re: what happen to blkid in buster?

2019-10-18 Thread Greg Wooledge
On Fri, Oct 18, 2019 at 09:12:11AM +, Long Wind wrote:
> how can i run blkid in buster?

Let me guess.  "I used su in buster, and it didn't change the PATH."

https://wiki.debian.org/NewInBuster#Changes



Re: what happen to blkid in buster?

2019-10-18 Thread Thomas Schmitt
Hi,

Long Wind wrote:
> the real problem is default path for root in X Window

I dimly remember various complaints that PATH now does not change if
you become superuser. See e.g.
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918754

So it is not so much related to X but to your way to become superuser.
Above bug report mentions this as a workaround:

  su -


Have a nice day :)

Thomas



Re: what happen to blkid in buster?

2019-10-18 Thread Teemu Likonen
Long Wind [2019-10-18T09:12:11Z] wrote:

> how can i run blkid in buster?

Run it as the root user.

-- 
///  OpenPGP key: 4E1055DC84E9DFF613D78557719D69D324539450
//  https://keys.openpgp.org/search?q=tliko...@iki.fi
/  https://keybase.io/tlikonen  https://github.com/tlikonen


signature.asc
Description: PGP signature


Re: what happen to blkid in buster?

2019-10-18 Thread Thomas Schmitt
Hi,

Long Wind wrote:
> how can i run blkid in buster?

According to apt-file "search" it is in package "util-linux".
  https://packages.debian.org/buster/amd64/util-linux/filelist
says that it is there as
  /sbin/blkid

If you try "blkid" with the typical $PATH of a non-superuser, then you
probably have to give its full path
  $ /sbin/blkid /dev/sr0
  /dev/sr0: UUID="2017-11-15-12-24-27-00" LABEL="ISOIMAGE" TYPE="iso9660"


Have a nice day :)

Thomas



what happen to blkid in buster?

2019-10-18 Thread Long Wind
how can i run blkid in buster?