Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #190034
| From | Dan Hitt <dan.hitt@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: BeFS or BFS or other filesystem for linux with attributes on debian |
| Date | 2017-12-19 20:10 +0100 |
| Message-ID | <uYvr3-2pp-7@gated-at.bofh.it> (permalink) |
| References | <uYuOm-1V8-7@gated-at.bofh.it> <uYuY2-1YH-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Awesome, Tomas, awesome. So it was implicit in my system all this time. Good grief. Anyhow, yes, that's exactly what i was looking for. Well, i guess a little more: i want programmatic access to the attributes as well. But obviously the attr program has programmatic access to the attributes, so presumably all i need to do is hunt down its code and look at it. dan On Tue, Dec 19, 2017 at 10:39 AM, <tomas@tuxteam.de> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tue, Dec 19, 2017 at 10:27:38AM -0800, Dan Hitt wrote: >> BeOS had (and i imagine Haiku has) a file system that allows all kinds >> of attributes to be attached to a file. > > Most self-respecting file systems on Linux have extended > attributes these days (at least for a value of "ext4" for > "self-respecting", that is; for the others, consult the > file system's man page ;-) > > You need the program "attr" for that, present in the Debian > package "attr" (not installed by default). > > Sample session: > > # create a file to play with: > tomas@trotzki:~$ touch mumpf > # set mumpf's 'color' attribute to the value 'red' > tomas@trotzki:~$ attr -s color -V red mumpf > Attribute "color" set to a 3 byte value for mumpf: > red > # list mumpf's attributes: > tomas@trotzki:~$ attr -l mumpf > Attribute "color" has a 3 byte value for mumpf > # get mumpf's 'color' attribute's value: > tomas@trotzki:~$ attr -g color mumpf > Attribute "color" had a 3 byte value for mumpf: > red > > Is that what you were looking for? > > Cheers > - -- tomás > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.12 (GNU/Linux) > > iEYEARECAAYFAlo5XOoACgkQBcgs9XrR2kYhYgCdHInAo4tBODcWUMfRpLJzygIZ > Oz4Anim4XbLSNgJjQ7ySF7/XciFgM0N7 > =M+du > -----END PGP SIGNATURE----- >
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
BeFS or BFS or other filesystem for linux with attributes on debian Dan Hitt <dan.hitt@gmail.com> - 2017-12-19 19:30 +0100
Re: BeFS or BFS or other filesystem for linux with attributes on debian <tomas@tuxteam.de> - 2017-12-19 19:40 +0100
Re: BeFS or BFS or other filesystem for linux with attributes on debian Roberto C. Sánchez <roberto@debian.org> - 2017-12-19 20:10 +0100
Re: BeFS or BFS or other filesystem for linux with attributes on debian Roberto C. Sánchez <roberto@debian.org> - 2017-12-19 23:10 +0100
Re: BeFS or BFS or other filesystem for linux with attributes on debian Dan Hitt <dan.hitt@gmail.com> - 2017-12-19 23:10 +0100
Re: BeFS or BFS or other filesystem for linux with attributes on debian David Christensen <dpchrist@holgerdanske.com> - 2017-12-20 08:20 +0100
Re: BeFS or BFS or other filesystem for linux with attributes on debian Dan Hitt <dan.hitt@gmail.com> - 2017-12-21 00:10 +0100
Re: BeFS or BFS or other filesystem for linux with attributes on debian Dan Hitt <dan.hitt@gmail.com> - 2017-12-19 20:10 +0100
csiph-web