[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] build: file-systems: Allow for bind mounting regular files.
From: |
Thompson, David |
Subject: |
Re: [PATCH] build: file-systems: Allow for bind mounting regular files. |
Date: |
Tue, 18 Aug 2015 12:43:22 -0400 |
On Tue, Aug 18, 2015 at 11:52 AM, Ludovic Courtès <address@hidden> wrote:
> "Thompson, David" <address@hidden> skribis:
>
>> +(define (regular-file? file-name)
>> + "Return #t if FILE-NAME is a regular file."
>> + (eq? (stat:type (stat file-name)) 'regular))
>
> I see you moved this procedure to (gnu build file-systems), which is
> reasonable.
I did this to avoid a full rebuild. A patch for core-updates could move it.
> I wonder if it should use ‘lstat’ instead of ‘stat’?
To follow symlinks or not? I guess the answer is "no". I can change
it to lstat.
- Dave
- [PATCH] build: file-systems: Allow for bind mounting regular files., David Thompson, 2015/08/01
- Re: [PATCH] build: file-systems: Allow for bind mounting regular files., Alex Kost, 2015/08/02
- Re: [PATCH] build: file-systems: Allow for bind mounting regular files., Thompson, David, 2015/08/02
- Re: [PATCH] build: file-systems: Allow for bind mounting regular files., Thompson, David, 2015/08/02
- Re: [PATCH] build: file-systems: Allow for bind mounting regular files., Andreas Enge, 2015/08/02
- Re: [PATCH] build: file-systems: Allow for bind mounting regular files., Alex Kost, 2015/08/03
- Re: [PATCH] build: file-systems: Allow for bind mounting regular files., Thompson, David, 2015/08/06
- Re: [PATCH] build: file-systems: Allow for bind mounting regular files., Alex Kost, 2015/08/07
- Re: [PATCH] build: file-systems: Allow for bind mounting regular files., Ludovic Courtès, 2015/08/18
- Re: [PATCH] build: file-systems: Allow for bind mounting regular files.,
Thompson, David <=
Re: [PATCH] build: file-systems: Allow for bind mounting regular files., Thompson, David, 2015/08/08