ольга крыжановская
2010-Apr-14 15:54 UTC
[zfs-discuss] getconf test for case insensitive ZFS?
Can I use getconf to test if a ZFS file system is mounted in case insensitive mode? Olga -- , _ _ , { \/`o;====- Olga Kryzhanovska -====;o`\/ } .----''-/`-/ olga.kryzhanovska at gmail.com \-`\-''----. `''-..-| / Solaris/BSD//C/C++ programmer \ |-..-''` /\/\ /\/\ `--` `--`
Roy Sigurd Karlsbakk
2010-Apr-14 17:46 UTC
[zfs-discuss] getconf test for case insensitive ZFS?
root at urd:~# zfs get casesensitivity dpool/test NAME PROPERTY VALUE SOURCE dpool/test casesensitivity sensitive - this seems to be settable only by create, not later. See man zfs for more info Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 roy at karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et element?rt imperativ for alle pedagoger ? unng? eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer p? norsk. ----- "????? ????????????" <olga.kryzhanovska at gmail.com> skrev:> Can I use getconf to test if a ZFS file system is mounted in case > insensitive mode? > > Olga > -- > , _ _ , > { \/`o;====- Olga Kryzhanovska -====;o`\/ } > .----''-/`-/ olga.kryzhanovska at gmail.com \-`\-''----. > `''-..-| / Solaris/BSD//C/C++ programmer \ |-..-''` > /\/\ /\/\ > `--` `--` > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Glenn Fowler
2010-Apr-14 17:48 UTC
[zfs-discuss] [shell-discuss] getconf test for case insensitive ZFS?
On Wed, 14 Apr 2010 17:54:02 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= wrote:> Can I use getconf to test if a ZFS file system is mounted in case > insensitive mode?we would have to put in the zfs query (hopefull more generic that just for zfs) the only current working case-insensitive checks are for uwin
ольга крыжановская
2010-Apr-14 17:51 UTC
[zfs-discuss] [shell-discuss] getconf test for case insensitive ZFS?
There is no way in the SUS standard to determinate if a file system is case insensitive, i.e. with pathconf? Olga On Wed, Apr 14, 2010 at 7:48 PM, Glenn Fowler <gsf at research.att.com> wrote:> > On Wed, 14 Apr 2010 17:54:02 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= wrote: >> Can I use getconf to test if a ZFS file system is mounted in case >> insensitive mode? > > we would have to put in the zfs query (hopefull more generic that just for zfs) > the only current working case-insensitive checks are for uwin > > _______________________________________________ > shell-discuss mailing list > shell-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/shell-discuss >-- , _ _ , { \/`o;====- Olga Kryzhanovska -====;o`\/ } .----''-/`-/ olga.kryzhanovska at gmail.com \-`\-''----. `''-..-| / Solaris/BSD//C/C++ programmer \ |-..-''` /\/\ /\/\ `--` `--`
ольга крыжановская
2010-Apr-14 18:10 UTC
[zfs-discuss] getconf test for case insensitive ZFS?
Roy, I was looking for a C API which works for all types of file systems, including ZFS, CIFS, PCFS and others. Olga On Wed, Apr 14, 2010 at 7:46 PM, Roy Sigurd Karlsbakk <roy at karlsbakk.net> wrote:> root at urd:~# zfs get casesensitivity dpool/test > NAME PROPERTY VALUE SOURCE > dpool/test casesensitivity sensitive - > > this seems to be settable only by create, not later. See man zfs for more info > > Best regards > > roy > -- > Roy Sigurd Karlsbakk > (+47) 97542685 > roy at karlsbakk.net > http://blogg.karlsbakk.net/ > -- > I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et element?rt imperativ for alle pedagoger ? unng? eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer p? norsk. > > ----- "????? ????????????" <olga.kryzhanovska at gmail.com> skrev: > >> Can I use getconf to test if a ZFS file system is mounted in case >> insensitive mode? >> >> Olga >> -- >> , _ _ , >> { \/`o;====- Olga Kryzhanovska -====;o`\/ } >> .----''-/`-/ olga.kryzhanovska at gmail.com \-`\-''----. >> `''-..-| / Solaris/BSD//C/C++ programmer \ |-..-''` >> /\/\ /\/\ >> `--` `--` >> _______________________________________________ >> zfs-discuss mailing list >> zfs-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >-- , _ _ , { \/`o;====- Olga Kryzhanovska -====;o`\/ } .----''-/`-/ olga.kryzhanovska at gmail.com \-`\-''----. `''-..-| / Solaris/BSD//C/C++ programmer \ |-..-''` /\/\ /\/\ `--` `--`
Joerg Schilling
2010-Apr-14 19:18 UTC
[zfs-discuss] [shell-discuss] getconf test for case insensitive ZFS?
????? ???????????? <olga.kryzhanovska at gmail.com> wrote:> There is no way in the SUS standard to determinate if a file system is > case insensitive, i.e. with pathconf?SUS requires a case sensitive filesystem. There is no need to request this from a POSIX view.... J?rg -- EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin js at cs.tu-berlin.de (uni) joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Tim Haley
2010-Apr-15 19:52 UTC
[zfs-discuss] [shell-discuss] getconf test for case insensitive ZFS?
On 04/14/10 11:48 AM, Glenn Fowler wrote:> > On Wed, 14 Apr 2010 17:54:02 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?= wrote: >> Can I use getconf to test if a ZFS file system is mounted in case >> insensitive mode? > > we would have to put in the zfs query (hopefull more generic that just for zfs) > the only current working case-insensitive checks are for uwin > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discussThere is a pathconf(2) check described in the documentation for the case-insensitive behavior ARC case http://arc.opensolaris.org/caselog/PSARC/2007/244/spec.txt Not sure why it''s not in the man page... -tim
ольга крыжановская
2010-Apr-15 20:06 UTC
[zfs-discuss] [shell-discuss] getconf test for case insensitive ZFS?
/usr/bin/getconf _PC_CASE_BEHAVIOR /tmp getconf: Invalid argument (_PC_CASE_BEHAVIOR) I''m sure this is a bug, right? Olga On Thu, Apr 15, 2010 at 9:52 PM, Tim Haley <tim.haley at oracle.com> wrote:> On 04/14/10 11:48 AM, Glenn Fowler wrote: >> >> On Wed, 14 Apr 2010 17:54:02 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?>> wrote: >>> >>> Can I use getconf to test if a ZFS file system is mounted in case >>> insensitive mode? >> >> we would have to put in the zfs query (hopefull more generic that just for >> zfs) >> the only current working case-insensitive checks are for uwin >> >> _______________________________________________ >> zfs-discuss mailing list >> zfs-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > There is a pathconf(2) check described in the > documentation for the case-insensitive behavior ARC case > > http://arc.opensolaris.org/caselog/PSARC/2007/244/spec.txt > > Not sure why it''s not in the man page... > > -tim > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >-- , _ _ , { \/`o;====- Olga Kryzhanovska -====;o`\/ } .----''-/`-/ olga.kryzhanovska at gmail.com \-`\-''----. `''-..-| / Solaris/BSD//C/C++ programmer \ |-..-''` /\/\ /\/\ `--` `--`
ольга крыжановская
2010-Apr-15 22:12 UTC
[zfs-discuss] [shell-discuss] getconf test for case insensitive ZFS?
Tim, did ZFS or CIFS add other pathconf() values which need to be implemented in getconf or ksh93? Olga 2010/4/15 ????? ???????????? <olga.kryzhanovska at gmail.com>:> /usr/bin/getconf _PC_CASE_BEHAVIOR /tmp > getconf: Invalid argument (_PC_CASE_BEHAVIOR) > > I''m sure this is a bug, right? > > Olga > > On Thu, Apr 15, 2010 at 9:52 PM, Tim Haley <tim.haley at oracle.com> wrote: >> On 04/14/10 11:48 AM, Glenn Fowler wrote: >>> >>> On Wed, 14 Apr 2010 17:54:02 +0200 =?KOI8-R?B?z8zYx8Egy9LZ1sHOz9fTy8HR?>>> wrote: >>>> >>>> Can I use getconf to test if a ZFS file system is mounted in case >>>> insensitive mode? >>> >>> we would have to put in the zfs query (hopefull more generic that just for >>> zfs) >>> the only current working case-insensitive checks are for uwin >>> >>> _______________________________________________ >>> zfs-discuss mailing list >>> zfs-discuss at opensolaris.org >>> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >> >> There is a pathconf(2) check described in the >> documentation for the case-insensitive behavior ARC case >> >> http://arc.opensolaris.org/caselog/PSARC/2007/244/spec.txt >> >> Not sure why it''s not in the man page... >> >> -tim >> _______________________________________________ >> zfs-discuss mailing list >> zfs-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >> > > > > -- > , _ _ , > { \/`o;====- Olga Kryzhanovska -====;o`\/ } > .----''-/`-/ olga.kryzhanovska at gmail.com \-`\-''----. > `''-..-| / Solaris/BSD//C/C++ programmer \ |-..-''` > /\/\ /\/\ > `--` `--` >-- , _ _ , { \/`o;====- Olga Kryzhanovska -====;o`\/ } .----''-/`-/ olga.kryzhanovska at gmail.com \-`\-''----. `''-..-| / Solaris/BSD//C/C++ programmer \ |-..-''` /\/\ /\/\ `--` `--`