| From | Subject | Date |
|---|---|---|
| maximilian attems | [PATCH] linux/magic.h: feature ramfs magic
initramfs userspace likes to use that magic number.
Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: maximilian attems <max@stro.at>
---
fs/ramfs/inode.c | 4 +---
include/linux/magic.h | 1 +
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c
index 0ff7566..875126d 100644
--- a/fs/ramfs/inode.c
+++ b/fs/ramfs/inode.c
@@ -34,12 +34,10 @@
#include <linux/ramfs.h>
#include <linux/sched.h>
#inclu...
| Jul 3, 10:20 am 2009 |
| David Howells | [PATCH 1/2] vfs: new open(2) flag to open filesystem node
From: Miklos Szeredi <miklos@szeredi.hu>
This patch adds a new open flag, O_NODE. This flag means: open just
the filesystem node instead of the object referenced by the node.
Opening a file will not call the driver's ->open() method and will not
have any side effect other than referencing the dentry/vfsmount from
the struct file pointer.
Currently O_NODE can only be used together with O_NOACCESS (value 3),
meaning that read(2) and write(2) will return EBADF and no permission
is neces...
| Jul 3, 9:49 am 2009 |
| David Howells | [PATCH 2/2] AFS: Export some AFS-specific information throug...
Export some AFS-specific information through xattrs with an "afs." prefix.
This allows some pioctls to be emulated in userspace.
This can be tested directly using the getfattr program:
[root@andromeda ~]# getfattr -d -m - /afs
getfattr: Removing leading '/' from absolute path names
# file: afs
security.selinux="system_u:object_r:nfs_t:s0\000"
system.afs.cell="procyon.org.uk"
system.afs.fid="20000000:00000001:00000001"
A tentative wrapper for partially implementing pioctl in userspace co...
| Jul 3, 9:49 am 2009 |
| Kay Sievers | Re: [ANNOUNCE] util-linux-ng v2.16-rc2
This seems to make it work in the chroot.
It turns around the logic, and installs the libs in /usr, and moves
the .so to /, so the devel links and the .la files are not changed.
Thanks,
Kay
diff --git a/shlibs/blkid/src/Makefile.am b/shlibs/blkid/src/Makefile.am
index 8b1f46b..b585f0a 100644
--- a/shlibs/blkid/src/Makefile.am
+++ b/shlibs/blkid/src/Makefile.am
@@ -21,7 +21,7 @@ AM_CPPFLAGS += -I$(ul_libblkid_srcdir) $(common_cflags)
blkidincdir = $(includedir)/blkid
blkidinc_HEADERS =...
| Jul 3, 5:29 am 2009 |
| Karel Zak | Re: [ANNOUNCE] util-linux-ng v2.16-rc2
Yes, this is probably the best solution. (I'll also rename
usrlibexecdir, that's too confusing.)
Thanks!
Karel
--
Karel Zak <kzak@redhat.com>
--
| Jul 3, 6:53 am 2009 |
| OGAWA Hirofumi | Re: [PATCH] Added CONFIG_VFAT_FS_DUALNAMES option
My choice is to provide the option of those to users. I'm not saying to
Now, I'm not working for any companies. I can say there is no closed
I'm just thinking about users. If vendors shipped the buggy code like
first buggy patch, I just thought it's more bad for our users. That's
all.
If there is community decision, I'll be really glad to follow it.
Thanks.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
--
| Jul 2, 10:50 pm 2009 |
| Rusty Russell | Re: [PATCH] Added CONFIG_VFAT_FS_DUALNAMES option
No, his point is the opposite: the rate of incidence of bluescreens on XP will
not measurably increase due to this patch.
Cheers,
Rusty.
--
| Jul 2, 8:03 pm 2009 |
| tridge | Re: CONFIG_VFAT_FS_DUALNAMES regressions
Hi Jan,
I should also mention that in the first patch I sent back in May, I
added some code that made the 8.3 name problem easier on the user. It
basically forced the shortname= option, overriding the mount option,
when the patch was triggered. The end result was that a name like
dcis3000.jpg would always be stored as a 8.3 name, and thus be visible
to digital cameras, even if the mount options were set to say that
lowercase names should be considered as "long" names.
Hirofumi objected, on the b...
| Jul 2, 8:14 pm 2009 |
| OGAWA Hirofumi | Re: CONFIG_VFAT_FS_DUALNAMES regressions
I have no objection to improve. And in this case, for this option, to
force the shortname= sounds reasonable.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
--
| Jul 2, 8:58 pm 2009 |
| tridge | Re: CONFIG_VFAT_FS_DUALNAMES regressions
> I have no objection to improve. And in this case, for this option, to
> force the shortname= sounds reasonable.
Great!
Which varient of this would you prefer I implement? I think the two
obvious choices are:
1) do what I did in the May patch, which is to force
VFAT_SFN_CREATE_WINNT when the patch code triggers.
2) force VFAT_SFN_CREATE_WINNT, but also if the name is mixed case
within either prefix or extension (such as "Mixed.TXT") then force
that part of the name to all ...
| Jul 2, 9:11 pm 2009 |
| Jan Engelhardt | Re: CONFIG_VFAT_FS_DUALNAMES regressions
The cam does not have a problem with long filenames — as said, it works
on any to-date vanilla/distro Linux kernel, which, if I understood
mount(8) right, always create a long filename due to me using a
lowercase filename in conjunction with the default shortname=mixed.
--
| Jul 2, 9:50 pm 2009 |
| tridge | Re: CONFIG_VFAT_FS_DUALNAMES regressions
Hi Jan,
> The cam does not have a problem with long filenames,A $,1rt
That is curious. When you use a long filename (ie. a real long
filename, not a mixed case 8.3 name), if you ask the camera for
details on the photo, does it show the long filename you chose, or
does it show a 8.3 "mangled" name, like ABC~01.JPG.
> as said, it works on any to-date vanilla/distro Linux kernel,
> which, if I understood mount(8) right, always create a long
> filename due to me using a lowercas...
| Jul 2, 9:59 pm 2009 |
| Jan Engelhardt | Re: CONFIG_VFAT_FS_DUALNAMES regressions
No-no, as previously mentioned it ignores filenames not in the
format of dscf????.jpg. But if I interpret the hexdump right,
standard Linux creates a long name *anyway*, even for names
fitting in 8.3, if it's lowercase:
│00bce510 79 39 79 39 03 00 f5 5b-79 39 95 4b 00 00 00 00 |y9y9? ?[y9?K |
│00bce520 41 67 00 6f 00 64 00 64-00 61 00 0f 00 27 6d 00 |Ag o d d a ? 'm |
│00bce530 6e 00 2e 00 7a 00 69 00-70 00 00 00 00 00 ff ff |n . z i p ??|
│00bce540 47 4f 44 44 41 4d ...
| Jul 2, 10:09 pm 2009 |
| tridge | Re: CONFIG_VFAT_FS_DUALNAMES regressions
Hi Jan,
> No-no, as previously mentioned it ignores filenames not in the
> format of dscf????.jpg. But if I interpret the hexdump right,
> standard Linux creates a long name *anyway*, even for names
> fitting in 8.3, if it's lowercase:
>
> $,2 "00bce510 79 39 79 39 03 00 f5 5b-79 39 95 4b 00 00 00 00 |y9y9? ?[y9?K |
> $,2 "00bce520 41 67 00 6f 00 64 00 64-00 61 00 0f 00 27 6d 00 |Ag o d d a ? 'm |
> $,2 "00bce530 6e 00 2e 00 7a 00 69 00-70 00 00 00 00...
| Jul 2, 11:25 pm 2009 |
| Jan Engelhardt | Re: CONFIG_VFAT_FS_DUALNAMES regressions
Right. That in itself is fine, but I'd still like to have readdir
return lowercase names here then. This is sort of what I seem to
remember from Windows: files only having a total-uppercase 8.3
name were still displayed as lowercase. This is why I am all for
splitting the shortcase option. (Maybe patches speak louder but
I toyed with the hexeditor a bit and modified the FAT entry's
filename directly. (I just hope there is not any checksum?)
* if a filename is of the form /dscf????.jpg/i, the...
| Jul 3, 5:40 am 2009 |
| tridge | Re: CONFIG_VFAT_FS_DUALNAMES regressions
Hi Jan,
> Right. That in itself is fine, but I'd still like to have readdir
> return lowercase names here then.
you are in luck!
It just so happens that this is what happens when we use the patch
that Hirofumi and I just agreed on (ie. the case handling part of my
patch from May, combined with the current patch).
I include it below. Can you please test it? It should be applied on
top of the previous patch. Note that you will not need to specify
shortname=winnt. In fact, if you don'...
| Jul 3, 8:24 am 2009 |
| OGAWA Hirofumi | Re: CONFIG_VFAT_FS_DUALNAMES regressions
I guess it would be depending on how many shortname only devices are
there though. At least for now, I'd like to keep that small.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
--
| Jul 3, 2:46 am 2009 |
| Jan Engelhardt | Re: CONFIG_VFAT_FS_DUALNAMES regression
No special options — all defaults to whatever the Linux kernel and
util-linux 2.14.1 gave me. Whereby util-linux should not make a
difference because it just passes on the mount request for there is
no special vfat helper.
Given my second report about the audio player (just sent out), I even
compared dualnames=n with =y on the same kernel — which would rule
out changed defaults between 2.6.29 and 2.6.31-rc.
/proc/mounts contains, on .31-rc:
/dev/sdc1 /mnt vfat rw,relatime,fmask=0022,...
| Jul 2, 8:11 pm 2009 |
| tridge | Re: CONFIG_VFAT_FS_DUALNAMES regression
Hi Jan,
> Then, I just tried everything to get an overview:
thanks!
> (All with DUALNAMES=n)
> # mount /dev/sdc1 /mnt -o iocharset=utf8,shortnames=lower
> # cp /mnt/dcim/100_fuji/dscf{4160,3004}.jpg
> # umount /mnt
> # mount /dev/sdc1 /mnt -o iocharset=utf8,shortnames=win95
> # cp /mnt/dcim/100_fuji/dscf{4160,3005}.jpg
> # umount /mnt
> # mount /dev/sdc1 /mnt -o iocharset=utf8,shortnames=winnt
> # cp /mnt/dcim/100_fuji/dscf{4160,3006}.jpg
&...
| Jul 2, 8:25 pm 2009 |
| Jan Engelhardt | Re: CONFIG_VFAT_FS_DUALNAMES regression
The mount(8) manpage becomes pretty ambiguous with the dualnames
patch. By default, "store a long name when the short name is not all
upper case" would apply - and is invoked because I am a lazy typist
who wrote "cp $this dscf3000" instead of "cp $this DSCF3000". Now
since dualnames=n is in effect, no long name would need to be written
because it still fits into 8.3 — subsequently, one would assume an
Making WINNT the default would cause many a `ls` output to just
scream at me in uppercaps b...
| Jul 2, 9:10 pm 2009 |
| tridge | Re: CONFIG_VFAT_FS_DUALNAMES regression
Hi Jan,
> The mount(8) manpage becomes pretty ambiguous with the dualnames
> patch.
yes, the man page will need an update certainly.
> Making WINNT the default would cause many a `ls` output to just
> scream at me in uppercaps because there are programs that
> create long names with all-uppers.
well, you could also argue that having WINNT in effect does the
'correct' thing. It causes ls to display the name that is actually in
the filesystem.
I think the current defa...
| Jul 2, 9:26 pm 2009 |
| Jan Engelhardt | Re: CONFIG_VFAT_FS_DUALNAMES regression
There is no misleading in that, since VFAT is rather case-insensitive.
Certainly, lowering all 8.3 names is more appalling to the eyes than
keeping all-caps-longnames that way. I think I would even add a new
heuristic for case transformation on display to fit my personal
guidelines which would be:
($file, $ext) = ($filename =~ /^(.*)\.(.*)$/);
$ext = lc $ext;
if ($file =~ /^[A-Z]+$/) {
$file = lc $ext;
}
Linux has been doing case conversion all years long so I do not think
...
| Jul 2, 9:58 pm 2009 |
| Jean-Pierre André | Re: [PATCH] fuse: allow umask processing in userspace
Hi Miklos,
Good news : use of default ACL is now ok,
Bad news : several tests on mkdir/mknod fail.
This is because umask is not applied anymore, in
any situation, and it was somewhat expected as I
defined current_umask() as zero.
BUT :
I only built a new fuse.ko for kernel 2.6.29.5-191
based on the fuse source released with this kernel
and the below patches applied (manually). No change
whatever elsewhere (I did not recompile the kernel),
and there is nothing in this patch which removes t...
| Jul 3, 3:50 am 2009 |
| Miklos Szeredi | Re: [PATCH] fuse: allow umask processing in userspace
Hi Jean-Pierre,
Thank you for testing this patch.
To compile on 2.6.29 just add this line to fuse_i.h:
The patch should work on 2.6.30 or later without problems.
Or you can try 2.6.31-rc1-git10 from www.kernel.org, which already has
this patch applied.
Thanks,
Miklos
--
| Jul 3, 5:23 am 2009 |
| previous day | today | next day |
|---|---|---|
| July 2, 2009 | July 3, 2009 | July 4, 2009 |
| Amit K. Arora | [RFC] Heads up on sys_fallocate() |
| Linus Torvalds | Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series.. |
| Paul Jackson | Re: cpuset-remove-sched-domain-hooks-from-cpusets |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
git: | |
| Linus Torvalds | Re: [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | Re: [klibc] [patch] import socket defines |
