亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? readme

?? 優(yōu)龍2410linux2.6.8內(nèi)核源代碼
??
?? 第 1 頁 / 共 5 頁
字號:
an inode is on a different filesystem than another inode. The devicenumber used is the one for the block device which a filesystem isusing. To preserve compatibility with userspace programmes, blockdevices using devfs need to have unique device numbers allocated tothem. Furthermore, POSIX specifies device numbers, so some kind ofdevice number needs to be presented to userspace.The simplest option (especially when porting drivers to devfs) is tokeep using the old major and minor numbers. Devfs will take whatevervalues are given for major&minor and pass them onto userspace.This device number is a 16 bit number, so this leaves plenty of spacefor large numbers of discs and partitions. This scheme can also beused for character devices, in particular the tty devices, which arecurrently limited to 256 pseudo-ttys (this limits the total number ofsimultaneous xterms and remote logins).  Note that the device numberis limited to the range 36864-61439 (majors 144-239), in order toavoid any possible conflicts with existing official allocations.Please note that using dynamically allocated block device numbers maybreak the NFS daemons (both user and kernel mode), which expect dev_tfor a given device to be constant over the lifetime of remote mounts.A final note on this scheme: since it doesn't increase the size ofdevice numbers, there are no compatibility issues with userspace.-----------------------------------------------------------------------------Questions and AnswersMaking things workAlternatives to devfsWhat I don't like about devfsHow to report bugsStrange kernel messagesCompilation problems with devfsdMaking things workHere are some common questions and answers.Devfsd doesn't startMake sure you have compiled and installed devfsdMake sure devfsd is being started from your bootscriptsMake sure you have configured your kernel to enable devfs (seebelow)Make sure devfs is mounted (see below)Devfsd is not managing all my permissionsMake sure you are capturing the appropriate events. For example,device entries created by the kernel generate REGISTER events,but those created by devfsd generate CREATE events.Devfsd is not capturing all REGISTER eventsSee the previous entry: you may need to capture CREATE events.X will not startMake sure you followed the steps outlined above.Why don't my network devices appear in devfs?This is not a bug. Network devices have their own, completely separatenamespace. They are accessed via socket(2) andsetsockopt(2) calls, and thus require no device nodes. I haveraised the possibilty of moving network devices into the devicenamespace, but have had no response.How can I test if I have devfs compiled into my kernel?All filesystems built-in or currently loaded are listed in/proc/filesystems. If you see a devfs entry, thenyou know that devfs was compiled into your kernel. If you havecorrectly configured and rebuilt your kernel, then devfs will bebuilt-in. If you think you've configured it in, but/proc/filesystems doesn't show it, you've made a mistake.Common mistakes include:Using a 2.2.x kernel without applying the devfs patch (if youdon't know how to patch your kernel, use 2.4.x instead, don't botherasking me how to patch)Forgetting to set CONFIG_EXPERIMENTAL=yForgetting to set CONFIG_DEVFS_FS=yForgetting to set CONFIG_DEVFS_MOUNT=y (if you want devfsto be automatically mounted at boot)Editing your .config manually, instead of using makeconfig or make xconfigForgetting to run make dep; make clean after changing theconfiguration and before compilingForgetting to compile your kernel and modulesForgetting to install your kernelForgetting to install your modulesPlease check twice that you've done all these steps before sending ina bug report.How can I test if devfs is mounted on /dev?The device filesystem will always create an entry called".devfsd", which is used to communicate with the daemon. Evenif the daemon is not running, this entry will exist. Testing for theexistence of this entry is the approved method of determining if devfsis mounted or not. Note that the type of entry (i.e. regular file,character device, named pipe, etc.) may change without notice. Onlythe existence of the entry should be relied upon.When I start devfsd, I see the error:Error opening file: ".devfsd"   No such file or directory?This means that devfs is not mounted. Make sure you have devfs mounted.How do I mount devfs?First make sure you have devfs compiled into your kernel (seeabove). Then you will either need to:set CONFIG_DEVFS_MOUNT=y in your kernel configpass devfs=mount to your boot loadermount devfs manually in your boot scripts with:mount -t none devfs /devMount by volume LABEL=<label> doesn't work withdevfsMost probably you are not mounting devfs onto /dev. Whathappens is that if your kernel config has CONFIG_DEVFS_FS=ythen the contents of /proc/partitions will have the devfsnames (such as scsi/host0/bus0/target0/lun0/part1). Thecontents of /proc/partitions are used by mount(8) whenmounting by volume label. If devfs is not mounted on /dev,then mount(8) will fail to find devices. The solution is tomake sure that devfs is mounted on /dev. See above for how todo that.I have extra or incorrect entries in /devYou may have stale entries in your dev-state area. Check for aRESTORE configuration line in your devfsd configuration(typically /etc/devfsd.conf). If you have this line, checkthe contents of the specified directory for stale entries. Removeany entries which are incorrect, then reboot.I get "Unable to open initial console" messages at bootThis usually happens when you don't have devfs automounted onto/dev at boot time, and there is no valid/dev/console entry on your root file-system. Create a valid/dev/console device node.Alternatives to devfsI've attempted to collate all the anti-devfs proposals and explaintheir limitations. Under construction.Why not just pass device create/remove events to a daemon?Here the suggestion is to develop an API in the kernel so that devicescan register create and remove events, and a daemon listens for thoseevents. The daemon would then populate/depopulate /dev (whichresides on disc).This has several limitations:it only works for modules loaded and unloaded (or devices insertedand removed) after the kernel has finished booting. Without a databaseof events, there is no way the daemon could fully populate/devif you add a database to this scheme, the question is then how topresent that database to user-space. If you make it a list of stringswith embedded event codes which are passed through a pipe to thedaemon, then this is only of use to the daemon. I would argue that thenatural way to present this data is via a filesystem (since many ofthe events will be of a hierarchical nature), such as devfs.Presenting the data as a filesystem makes it easy for the user to seewhat is available and also makes it easy to write scripts to scan the"database"the tight binding between device nodes and drivers is no longerpossible (requiring the otherwise perfectly avoidabletable lookups)you cannot catch inode lookup events on /dev which meansthat module autoloading requires device nodes to be created. This is aproblem, particularly for drivers where only a few inodes are createdfrom a potentially large setthis technique can't be used when the root FS is mountedread-onlyJust implement a better scsidevThis suggestion involves taking the scsidev programme andextending it to scan for all devices, not just SCSI devices. Thescsidev programme works by scanning /proc/scsiProblems:the kernel does not currently provide a list of all devicesavailable. Not all drivers register entries in /proc orgenerate kernel messagesthere is no uniform mechanism to register devices other than thedevfs APIimplementing such an API is then the same as theproposal abovePut /dev on a ramdiscThis suggestion involves creating a ramdisc and populating it withdevice nodes and then mounting it over /dev.Problems:this doesn't help when mounting the root filesystem, since youstill need a device node to do thatif you want to use this technique for the root device node aswell, you need to use initrd. This complicates the booting sequenceand makes it significantly harder to administer and configure. Theinitrd is essentially opaque, robbing the system administrator of easyconfigurationinsufficient information is available to correctly populate theramdisc. So we come back to theproposal above to "solve" thisa ramdisc-based solution would take more kernel memory, since thebacking store would be (at best) normal VFS inodes and dentries, whichtake 284 bytes and 112 bytes, respectively, for each entry. Comparethat to 72 bytes for devfsDo nothing: there's no problemSometimes people can be heard to claim that the existing scheme isfine. This is what they're ignoring:device number size (8 bits each for major and minor) is a reallimitation, and must be fixed somehow. Systems with large numbers ofSCSI devices, for example, will continue to consume the remainingunallocated major numbers. USB will also need to push beyond the 8 bitminor limitationsimply increasing the device number size is insufficient. Apartfrom causing a lot of pain, it doesn't solve the management issuesof a /dev with thousands or more device nodesignoring the problem of a huge /dev will not make it goaway, and dismisses the legitimacy of a large number of people whowant a dynamic /devthe standard response then becomes: "write a device managementdaemon", which brings us back to theproposal aboveWhat I don't like about devfsHere are some common complaints about devfs, and some suggestions andsolutions that may make it more palatable for you. I can't pleaseeverybody, but I do try :-)I hate the naming schemeFirst, remember that no naming scheme will please everybody. You hatethe scheme, others love it. Who's to say who's right and who's wrong?Ultimately, the person who writes the code gets to choose, and whatexists now is a combination of the choices made by thedevfs author and thekernel maintainer (Linus).However, not all is lost. If you want to create your own namingscheme, it is a simple matter to write a standalone script, hackdevfsd, or write a script called by devfsd. You can create whatevernaming scheme you like.Further, if you want to remove all traces of the devfs naming schemefrom /dev, you can mount devfs elsewhere (say/devfs) and populate /dev with links into/devfs. This population can be automated using devfsd if youwish.You can even use the VFS binding facility to make the links, ratherthan using symbolic links. This way, you don't even have to see the"destination" of these symbolic links.Devfs puts policy into the kernelThere's already policy in the kernel. Device numbers are in factpolicy (why should the kernel dictate what device numbers I use?).Face it, some policy has to be in the kernel. The real differencebetween device names as policy and device numbers as policy is thatno one will use device numbers directly, because devicenumbers are devoid of meaning to humans and are ugly. At least withthe devfs device names, (even though you can add your own namingscheme) some people will use the devfs-supplied names directly. Thisoffends some people :-)Devfs is bloatwareThis is not even remotely true. As shown above,both code and data size are quite modest.How

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产女同性恋一区二区| 91精品中文字幕一区二区三区| 一区二区三区在线播放| 国产精品欧美一级免费| 久久久噜噜噜久久中文字幕色伊伊| 91精品国产综合久久久蜜臀粉嫩| 欧美三电影在线| 欧美午夜一区二区三区| 在线区一区二视频| 日本久久一区二区| 欧美精品第一页| 欧美一区二区三区四区久久| 欧美一区二区三区婷婷月色 | 欧美激情综合五月色丁香| 精品国产一区久久| 国产人成亚洲第一网站在线播放 | 欧美午夜理伦三级在线观看| 色偷偷久久人人79超碰人人澡| www.日韩在线| 在线观看网站黄不卡| 欧美日韩在线亚洲一区蜜芽| 欧美日韩一卡二卡三卡| 日韩精品一区在线观看| 中文字幕一区二区三区不卡| 一区二区在线观看免费视频播放| 亚洲一区二区三区四区在线观看| 亚洲成人免费影院| 精品影视av免费| av在线播放一区二区三区| 欧美专区在线观看一区| 欧美tk—视频vk| 最新国产成人在线观看| 日韩综合在线视频| 国产·精品毛片| 欧美高清视频不卡网| 久久精品视频网| 一区二区视频在线看| 青青青爽久久午夜综合久久午夜| 国产酒店精品激情| 欧美巨大另类极品videosbest| 2023国产精品视频| 午夜伦理一区二区| gogo大胆日本视频一区| 精品国产三级电影在线观看| 亚洲另类一区二区| 国产精品性做久久久久久| 91国产精品成人| 国产欧美日韩在线视频| 日韩精品91亚洲二区在线观看| 韩国成人精品a∨在线观看| 欧美在线你懂的| 久久久久久久久一| 日韩电影免费在线| 色综合色狠狠综合色| 精品久久99ma| 亚洲精品乱码久久久久久久久| 欧美a级理论片| 欧美伊人久久大香线蕉综合69| 久久人人97超碰com| 日日骚欧美日韩| 欧美亚洲愉拍一区二区| 日韩一区在线播放| 99久久99久久精品免费观看| 精品成人一区二区三区四区| 日韩中文欧美在线| 欧美日韩在线电影| 洋洋av久久久久久久一区| 精品国产sm最大网站免费看| 亚洲123区在线观看| 91激情五月电影| 亚洲男人的天堂一区二区| 成人天堂资源www在线| 国产欧美1区2区3区| 狠狠久久亚洲欧美| 精品国产乱码久久久久久浪潮| 日本亚洲视频在线| 欧美电影一区二区三区| 天堂av在线一区| 538在线一区二区精品国产| 亚洲3atv精品一区二区三区| 678五月天丁香亚洲综合网| 偷拍亚洲欧洲综合| 91精品欧美一区二区三区综合在 | 亚洲日穴在线视频| 99久免费精品视频在线观看 | 日韩写真欧美这视频| 日韩va欧美va亚洲va久久| 制服丝袜亚洲网站| 精品综合久久久久久8888| 久久嫩草精品久久久久| 成人一区二区在线观看| 亚洲国产精品二十页| 97久久精品人人澡人人爽| 亚洲欧美一区二区三区极速播放| 欧美性大战久久久| 美腿丝袜亚洲色图| 久久精品日韩一区二区三区| 成人蜜臀av电影| 亚洲欧美成人一区二区三区| av成人免费在线观看| 亚洲不卡一区二区三区| 精品国产91乱码一区二区三区 | 国产精品久久免费看| 成人免费视频视频在线观看免费 | 国产欧美日韩综合| 欧美色窝79yyyycom| 麻豆精品国产传媒mv男同| 精品久久久久久久一区二区蜜臀| 国产成a人无v码亚洲福利| 一区二区三区高清| 精品日韩在线一区| 91国偷自产一区二区三区观看| 日本在线不卡视频一二三区| 精品福利一二区| 日本道免费精品一区二区三区| 美女视频黄a大片欧美| 日韩毛片精品高清免费| 欧美一区二区三区性视频| 91亚洲国产成人精品一区二区三| 日韩经典中文字幕一区| 国产精品黄色在线观看| 欧美高清视频在线高清观看mv色露露十八 | 日本美女一区二区三区视频| 国产网站一区二区| 制服丝袜激情欧洲亚洲| 色综合天天性综合| 国产成人免费在线| 日本亚洲免费观看| 一区二区三区蜜桃网| 国产喷白浆一区二区三区| 91精品国产高清一区二区三区| 成人性生交大片免费看视频在线| 奇米影视一区二区三区小说| 一区二区在线电影| 国产精品国产三级国产| 精品久久一区二区三区| 6080日韩午夜伦伦午夜伦| 色婷婷综合视频在线观看| 日韩欧美国产三级电影视频| 93久久精品日日躁夜夜躁欧美| 国产一区高清在线| 久久99久久99精品免视看婷婷| 香蕉久久一区二区不卡无毒影院| 一区在线中文字幕| 国产精品不卡一区| 国产精品午夜久久| 国产精品污污网站在线观看| 久久久久一区二区三区四区| 精品免费一区二区三区| 日韩欧美的一区二区| 日韩精品一区二区在线| 日韩精品中文字幕在线不卡尤物| 欧美精品777| 3751色影院一区二区三区| 日韩欧美综合一区| 日韩免费高清电影| 欧美精品一区二区在线播放| 日韩欧美另类在线| 久久色.com| 国产日韩欧美在线一区| 国产精品久久777777| 亚洲欧美日韩久久| 国产欧美精品在线观看| 国产精品午夜在线| 亚洲一区免费观看| 日韩av中文字幕一区二区三区| 免费成人结看片| 狠狠色丁香九九婷婷综合五月| 亚洲精选在线视频| 日本欧美一区二区| 国产一区二区视频在线播放| 色综合久久久久综合99| 亚洲免费高清视频在线| 日本不卡123| 韩国成人福利片在线播放| 欧美电视剧在线看免费| 亚洲欧美福利一区二区| 青青国产91久久久久久| www.亚洲在线| 色先锋aa成人| 亚洲成人午夜影院| 欧美不卡一区二区三区四区| ...中文天堂在线一区| 久久av中文字幕片| 亚洲一区二区高清| eeuss鲁一区二区三区| 亚洲大片在线观看| 久久女同精品一区二区| 色综合久久中文字幕| 国产盗摄女厕一区二区三区| 欧美成人在线直播| 狠狠色丁香久久婷婷综| 中文字幕一区二区三区乱码在线| 成人av在线资源| 亚洲在线一区二区三区| 欧美一区日韩一区| 国产高清在线精品| 亚洲成人一区二区在线观看| 精品国产免费一区二区三区香蕉| 国产不卡视频在线播放|