From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: [udev]Maximum device name length
Date: Mon, 15 Jan 2007 17:08:38 +0000 [thread overview]
Message-ID: <20070115170838.GA19957@kroah.com> (raw)
In-Reply-To: <44795.208.250.32.6.1168867863.squirrel@192.168.175.202>
On Mon, Jan 15, 2007 at 08:31:03AM -0500, Jayjitkumar Lobhe wrote:
> Dear All,
>
> I am new to writting the UDEV rules. I have one query below:
>
> - What is the maximum length of the device name that can be set using UDEV
> rules?
>
> I tried creating the device directly under /dev/directory. So the device
> file that could be created was 255 characters(kernel specs I guess
> i.e.NAME_MAX)
>
> But I tried to create the device by giving sub-directories under /dev/ as
> : /dev/aaa/bbb/ccc/...../abc. I could create only upto 237 or so.
Why would this limit ever get close to being reached?
Why do you want to know the max size? Are you using such long paths for
a real device name?
thanks,
greg k-h
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
prev parent reply other threads:[~2007-01-15 17:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-15 13:31 [udev]Maximum device name length Jayjitkumar Lobhe
2007-01-15 17:08 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070115170838.GA19957@kroah.com \
--to=greg@kroah.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).