Re: device files should be handled by git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 27, 2013 at 3:08 PM, Fredrik Gustafsson <iveqy@xxxxxxxxx> wrote:
> On Wed, Jun 26, 2013 at 08:27:56PM -0700, Perry Wagle wrote:
>> Is there a reason not to handle device files other than "its not traditional"?  That's the only reason given in google or the IRC channel.
>
> In linux you can't create device files if your not root. On windows
> those files won't even exists (afaik).
>
> Wouldn't this be very unportable and hard to use (meaning that you need
> to handle your git repo as root or give git setuid root)?

Device files will probably never be supported by Git for the reasons
mentioned by Fredrik. If anything, etckeeper
(http://joeyh.name/code/etckeeper/) would be a much more appropriate
place to support this, although I don't think it currently does.
Alternatively, you could follow the suggestions of
http://superuser.com/questions/440873/git-unable-add-device-file (and
elsewhere), and write a script for generating the device files, rather
than storing them as-is.

...Johan

-- 
Johan Herland, <johan@xxxxxxxxxxx>
www.herland.net
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]