Lines Matching refs:Mount
1703 var ERRNO_MESSAGES={0:"Success",1:"Not super-user",2:"No such file or directory",3:"No such process",4:"Interrupted system call",5:"I/O error",6:"No such device or address",7:"Arg list too long",8:"Exec format error",9:"Bad file number",10:"No children",11:"No more processes",12:"Not enough core",13:"Permission denied",14:"Bad address",15:"Block device required",16:"Mount device busy",17:"File exists",18:"Cross-device link",19:"No such device",20:"Not a directory",21:"Is a directory",22:"Invalid argument",23:"Too many open files in system",24:"Too many open files",25:"Not a typewriter",26:"Text file busy",27:"File too large",28:"No space left on device",29:"Illegal seek",30:"Read only file system",31:"Too many links",32:"Broken pipe",33:"Math arg out of domain of func",34:"Math result not representable",35:"File locking deadlock error",36:"File or path name too long",37:"No record locks available",38:"Function not implemented",39:"Directory not empty",40:"Too many symbolic links",42:"No message of desired type",43:"Identifier removed",44:"Channel number out of range",45:"Level 2 not synchronized",46:"Level 3 halted",47:"Level 3 reset",48:"Link number out of range",49:"Protocol driver not attached",50:"No CSI structure available",51:"Level 2 halted",52:"Invalid exchange",53:"Invalid request descriptor",54:"Exchange full",55:"No anode",56:"Invalid request code",57:"Invalid slot",59:"Bad font file fmt",60:"Device not a stream",61:"No data (for no delay io)",62:"Timer expired",63:"Out of streams resources",64:"Machine is not on the network",65:"Package not installed",66:"The object is remote",67:"The link has been severed",68:"Advertise error",69:"Srmount error",70:"Communication error on send",71:"Protocol error",72:"Multihop attempted",73:"Cross mount point (not really error)",74:"Trying to read unreadable message",75:"Value too large for defined data type",76:"Given log. name not unique",77:"f.d. invalid for this operation",78:"Remote address changed",79:"Can access a needed shared lib",80:"Accessing a corrupted shared lib",81:".lib section in a.out corrupted",82:"Attempting to link in too many libs",83:"Attempting to exec a shared library",84:"Illegal byte sequence",86:"Streams pipe error",87:"Too many users",88:"Socket operation on non-socket",89:"Destination address required",90:"Message too long",91:"Protocol wrong type for socket",92:"Protocol not available",93:"Unknown protocol",94:"Socket type not supported",95:"Not supported",96:"Protocol family not supported",97:"Address family not supported by protocol family",98:"Address already in use",99:"Address not available",100:"Network interface is not configured",101:"Network is unreachable",102:"Connection reset by network",103:"Connection aborted",104:"Connection reset by peer",105:"No buffer space available",106:"Socket is already connected",107:"Socket is not connected",108:"Can't send after socket shutdown",109:"Too many references",110:"Connection timed out",111:"Connection refused",112:"Host is down",113:"Host is unreachable",114:"Socket already connected",115:"Connection already in progress",116:"Stale file handle",122:"Quota exceeded",123:"No medium (in tape drive)",125:"Operation canceled",130:"Previous owner died",131:"State not recoverable"};
1942 var MEMFS={ops_table:null,CONTENT_OWNING:1,CONTENT_FLEXIBLE:2,CONTENT_FIXED:3,mount:function (mount) {
2207 },DB_VERSION:21,DB_STORE_NAME:"FILE_DATA",mount:function (mount) {
2209 return MEMFS.mount.apply(null, arguments);
2210 },syncfs:function (mount, populate, callback) {
2211 IDBFS.getLocalSet(mount, function(err, local) {
2214 IDBFS.getRemoteSet(mount, function(err, remote) {
2260 },getLocalSet:function (mount, callback) {
2272 var check = FS.readdir(mount.mountpoint).filter(isRealDir).map(toAbsolute(mount.mountpoint));
2292 },getRemoteSet:function (mount, callback) {
2295 IDBFS.getDB(mount.mountpoint, function(err, db) {
2454 },mount:function (mount) {
2456 return NODEFS.createNode(null, '/', NODEFS.getMode(mount.opts.root), 0);
2485 parts.push(node.mount.opts.root);
2730 // jump to the mount's root node if this is a mountpoint
2760 var mount = node.mount.mountpoint;
2761 if (!path) return mount;
2762 return mount[mount.length-1] !== '/' ? mount + '/' + path : mount + path;
2814 this.mount = parent.mount;
3019 },getMounts:function (mount) {
3021 var check = [mount];
3038 var mounts = FS.getMounts(FS.root.mount);
3055 mounts.forEach(function (mount) {
3056 if (!mount.type.syncfs) {
3059 mount.type.syncfs(mount, populate, done);
3061 },mount:function (type, opts, mountpoint) {
3083 var mount = {
3091 var mountRoot = type.mount(mount);
3092 mountRoot.mount = mount;
3093 mount.root = mountRoot;
3099 node.mounted = mount;
3101 // add the new mount to the current mount's children
3102 if (node.mount) {
3103 node.mount.mounts.push(mount);
3115 // destroy the nodes for this mount, and all its child mounts
3117 var mount = node.mounted;
3118 var mounts = FS.getMounts(mount);
3126 if (mounts.indexOf(current.mount) !== -1) {
3137 // remove this mount from the child mounts
3138 var idx = node.mount.mounts.indexOf(mount);
3140 node.mount.mounts.splice(idx, 1);
3199 // need to be part of the same mount
3200 if (old_dir.mount !== new_dir.mount) {
3718 FS.mount(MEMFS, {}, '/');
4158 function _mkport() { throw 'TODO' }var SOCKFS={mount:function (mount) {
5777 __ATINIT__.push({ func: function() { SOCKFS.root = FS.mount(SOCKFS, {}, null); } });