[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: issuse about svn add linux device file

From: Toby Thain <toby_at_telegraphics.com.au>
Date: Sat, 29 Nov 2008 16:26:31 -0500

On 29-Nov-08, at 7:04 AM, marc gonzalez-carnicer wrote:

> wow!
>
> i guess adding a device to version control is beyond the
> imagination of
> any test suite.
>
> if you want to have a device created after checking out a repo, you
> may
> want to prepare a script using mknod and related tools, and execute it
> after check out.

+1 !

This has numerous advantages, including abstraction and documentation.

--Toby

>
>
> 2008/11/28 Ryan Schmidt <subversion-2008c_at_ryandesign.com>:
>> On Nov 27, 2008, at 20:45, Sun, ChengHao wrote:
>>
>>> I am using the subversion version 1.4.2 (r22196) client and
>>> version 1.5.2
>>> (r32768) on subversion server.
>>> I find some issue when I add some Linux device files as below:
>>>
>>> $ll filesys/dev/ttyE226
>>> crw-r----- 1 root root 24, 226 Nov 28 09:32 filesys/dev/ttyE226
>>>
>>> $sudo svn add filesys/dev/ttyE226 --force --no-ignore
>>> svn: Unsupported node kind for path 'filesys/dev/ttyE226'
>>>
>>> I searched but couldn't find solution about this issue, could you
>>> give
>>> some direction for it?
>>
>> Maybe it's just not possible to add a device to a Subversion
>> repository. It
>> certainly falls outside the scope of source control, which is what
>> most
>> people use Subversion for. You can add files, directories and
>> symlinks. Why
>> do you want to add a device?
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
>> For additional commands, e-mail: users-help_at_subversion.tigris.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-29 22:26:52 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.